package com.football.dao.Implement;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import com.football.dao.Interface.LeagueDAO;
import com.football.model.League;

@Repository
public class LeagueDAOImpl extends AbstractDAOImpl implements LeagueDAO {

	@Transactional
	public void addNewLeague(League league) {
		getSession().save(league);
	}

}
